package com.itboye.ihomebank.adapter;

import java.util.List;

import android.content.Context;

import com.itboye.ihomebank.R;
import com.itboye.ihomebank.bean.KaiSuoJiLuBean;
import com.itboye.ihomebank.support.commonadapter.MutiplyCommonAdapter;
import com.itboye.ihomebank.support.commonadapter.ViewHolder;
/**
 * 开锁记录
 *
 */
public class KaiSuoJiLuAdapter extends MutiplyCommonAdapter<KaiSuoJiLuBean>{
	int position;
	List<KaiSuoJiLuBean> datas;

	public KaiSuoJiLuAdapter(Context context, List<KaiSuoJiLuBean> datas,
			int... layoutId) {
		super(context, datas, layoutId);
		this.datas=datas;
	}

	@Override
	public int getItemViewType(int position) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void getItemPosition(int position) {
		this.position=position;
		
	}

	@Override
	public void convert(ViewHolder holder, KaiSuoJiLuBean t, int type,
			int position) {
		
		holder.setText(R.id.jilu_phone, t.getName());
	}

}
